-- import comment plugin safely
local comment = require("Comment")
-- local ft = require("Comment.ft")

local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim")

-- enable comment
comment.setup({
  -- for commenting tsx, jsx, svelte, html files
  pre_hook = ts_context_commentstring.create_pre_hook(),
})

-- ft.rc = '" %s'
